<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>json可以定义对象</title>
		<script>
		 var obj={name:"桃花",area:"中国大部分地区",
		 uses:"用于观赏和食用",
			show:function(){
				alert(this.name+","+this.area+",用户是"+this.uses);
			}
		 }
		 obj.show();
		 obj.name="夹竹桃";
		 obj.show();
		 delete obj.area;
		 alert("删除后：");
		 obj.show();
		 console.log(obj);
		</script>
	</head>
	<body>
	</body>
</html>
